package com.google.code.springbreeze.web.service;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;

import com.google.code.springbreeze.entity.Account;
import com.google.code.springbreeze.service.AccountService;

@WebService(endpointInterface = "com.google.code.springbreeze.web.service.WebServiceAcount") 
public class WebServiceAcountImpl implements WebServiceAcount {

	@Autowired
	private AccountService accountService;
	
	@Override
	 public Account getAccountByUserID(String userid) {
		Account account = accountService.getAccountByUserID(userid);
		return account;
	}
}
